<template>
  <div class="detail">
    <!-- 动态路由 -->
    {{ $route.params.detailId }}
  </div>
</template>
<script>
export default {
  created() {
    console.log(this.$route)
  },
}
</script>
